import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';

const routes: Routes = [
  { path: '', loadChildren: './tabs/tabs.module#TabsPageModule' },
  //{ path: '', redirectTo: 'guide', pathMatch: 'full'},
  {
    path: 'home',
    loadChildren: './home/home.module#HomePageModule'
  },
  {
    path: 'list',
    loadChildren: './list/list.module#ListPageModule'
  },
  { path: 'companylist', loadChildren: './companylist/companylist.module#CompanylistPageModule' },
  { path: 'companydetail', loadChildren: './companydetail/companydetail.module#CompanydetailPageModule' },
  { path: 'search', loadChildren: './search/search.module#SearchPageModule' },
  { path: 'banklist', loadChildren: './banklist/banklist.module#BanklistPageModule' },
  { path: 'guwendetails', loadChildren: './guwendetails/guwendetails.module#GuwendetailsPageModule' },
  { path: 'bankdetails', loadChildren: './bankdetails/bankdetails.module#BankdetailsPageModule' },
  { path: 'companydynamic', loadChildren: './companydynamic/companydynamic.module#CompanydynamicPageModule' },
  { path: 'companyvideo', loadChildren: './companyvideo/companyvideo.module#CompanyvideoPageModule' },
  { path: 'article', loadChildren: './article/article.module#ArticlePageModule' },
  { path: 'guide', loadChildren: './guide/guide.module#GuidePageModule' },
  { path: 'login', loadChildren: './login/login.module#LoginPageModule' },
  { path: 'profile', loadChildren: './profile/profile.module#ProfilePageModule' },
  { path: 'companymore', loadChildren: './companymore/companymore.module#CompanymorePageModule' },
  { path: 'guwenmore', loadChildren: './guwenmore/guwenmore.module#GuwenmorePageModule' },
  { path: 'connect', loadChildren: './connect/connect.module#ConnectPageModule' },
  { path: 'mycollect', loadChildren: './mycollect/mycollect.module#MycollectPageModule' },
  { path: 'mylike', loadChildren: './mylike/mylike.module#MylikePageModule' },
  { path: 'mybrowse', loadChildren: './mybrowse/mybrowse.module#MybrowsePageModule' },
  { path: 'advice', loadChildren: './advice/advice.module#AdvicePageModule' },
  { path: 'visit', loadChildren: './visit/visit.module#VisitPageModule' },
  { path: 'addvisit', loadChildren: './addvisit/addvisit.module#AddvisitPageModule' },
  { path: 'newsdynamic', loadChildren: './newsdynamic/newsdynamic.module#NewsdynamicPageModule' },
  { path: 'mine', loadChildren: './mine/mine.module#MinePageModule' },
  { path: 'financialproduct', loadChildren: './financialproduct/financialproduct.module#FinancialproductPageModule' },
  { path: 'video', loadChildren: './video/video.module#VideoPageModule' },  { path: 'showview', loadChildren: './showview/showview.module#ShowviewPageModule' },
  { path: 'servicecompanylist', loadChildren: './servicecompanylist/servicecompanylist.module#ServicecompanylistPageModule' },
  { path: 'myconnectcompany', loadChildren: './myconnectcompany/myconnectcompany.module#MyconnectcompanyPageModule' },
  { path: 'connectdetail', loadChildren: './connectdetail/connectdetail.module#ConnectdetailPageModule' },
  { path: 'postmessage', loadChildren: './postmessage/postmessage.module#PostmessagePageModule' },
  { path: 'instantmessage', loadChildren: './instantmessage/instantmessage.module#InstantmessagePageModule' },
  { path: 'visitdetail', loadChildren: './visitdetail/visitdetail.module#VisitdetailPageModule' },
  { path: 'updatePwd', loadChildren: './update-pwd/update-pwd.module#UpdatePwdPageModule' },
  { path: 'connectcount', loadChildren: './connectcount/connectcount.module#ConnectcountPageModule' },
  { path: 'myconnectbank', loadChildren: './myconnectbank/myconnectbank.module#MyconnectbankPageModule' }





];

@NgModule({
  imports: [RouterModule.forRoot(routes)],
  exports: [RouterModule]
})
export class AppRoutingModule { }
